package com.ruoyi.logistic.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Date;
import java.sql.Timestamp;

@Data
public class NetworkPrePayDealTab implements Serializable {
    private static final long serialVersionUID = 4710925857305074098L;
    /** 主键 */
    private Integer id;

    /** 业务编码 */
    @Excel(name = "业务编码")
    private String transactionId;

    /** 结算科目 */
    @Excel(name = "结算科目")
    private String settlementSubjectId;

    /** 收支类型 */
    @Excel(name = "收支类型")
    private String transactionType;

    /** 开户网点id */
    @Excel(name = "开户网点id")
    private Integer branchOfficeNetworkId;

    /** 账户编号 */
    @Excel(name = "账户编号")
    private String accountNumber;

    /** 账户名称 */
    @Excel(name = "账户名称")
    private String accountName;

    /** 账户类型 */
    @Excel(name = "账户类型")
    private String accountType;

    /** 前余额 */
    @Excel(name = "前余额")
    private BigDecimal preBalance;

    /** 交易金额 */
    @Excel(name = "交易金额")
    private BigDecimal transactionAmount;

    /** 后余额 */
    @Excel(name = "后余额")
    private BigDecimal postBalance;

    /** 业务发生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "业务发生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date businessDate;

    /** 交易完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "交易完成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date transactionTime;

    /** 内部流水号 */
    @Excel(name = "内部流水号")
    private String serialNumber;

    /** 备注信息 */
    @Excel(name = "备注信息")
    private String remarks;


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Timestamp createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Timestamp updateTime;

    private NetworkName networkName;

    private NetworkSettleSubject settleSubject;
}
